Using Tags in Eggplant DAI
Eggplant DAI lets you create tags to identify specific properties about a model. You apply these tags to states and actions within that model. For example, you might want a model to associate a state or action with a design location, such as London, Paris, Berlin, or Boulder. Another example would be to tag states or actions according to the assigned developer or development team.
As your model runs, Eggplant DAI collects information and looks for correlations between the applied tags and failure data. Eggplant DAI uses this correlation information to adjust the execution paths for the model. For example, Eggplant DAI might discover a correlation between failures and the Paris location, then slightly increase the probability of running the states and actions having a tag of Paris. In addition, Eggplant DAI might slightly decrease the probability of running the states and actions tagged with the other locations. In this way, Eggplant DAI becomes better at finding bugs over time.
The following information about tags is detailed below:
- Creating Tags: Explains how to create tag sets to use in your model.
- Applying Tags to a Model: Shows how to apply tags to the states and actions in your model.
Creating Tags
Before you can tag the elements within your model, you need to define your tags. You can do this from the Global Properties tab. Tags you create apply to the open model.